package cn.yl.order.server.service;

import cn.yl.order.server.entity.UserCourseOrder;
import cn.yl.order.server.entity.vo.PayOrderVo;
import cn.yl.order.server.entity.vo.UserCourseOrderVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户课程订单表 服务类
 * </p>
 *
 * @author yl
 * @since 2022-04-22
 */
public interface UserCourseOrderService extends IService<UserCourseOrder> {

    /**
     * @param salt
     * @return
     */
    List<UserCourseOrder> getOKOrderCourseIds(String salt);

    /**
     * @param payOrderVo
     * @return
     */
    boolean saveOrder(PayOrderVo payOrderVo);

    List<String> getTimeOutOrder(Integer time);
}
